home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Utils□□□ Divers 2 / Remote Remote GH 1.1 / Read Me-Remote Remote GH < prev    next >
Text File  |  1995-10-27  |  8KB  |  111 lines

  1. Remote Remote GH from Generally Helpful Software
  2. ⌐ 1995 Glenn R. Howes 
  3. all rights reserved 
  4.  
  5. version: 1.1
  6. date: Oct. 27, 1995 
  7. cost: free
  8. author:    Glenn R. Howes
  9. requires: System 7, A CD ROM drive
  10. recommended: An Appletalk network, AppleScript or other OSA
  11. PowerPC native: yes (compiled w/ PPC alignment and 604 optim.)
  12. Scriptable/Recordable: yes
  13.  
  14.  
  15. description:
  16. Remote Remote GH is an audio CD controller. But, not only can it control audio CDs in the computer you are sitting at,  it can also control the playback of CDs which are in another Mac on your Appletalk network, whether it is across the room or across campus. 
  17.  
  18. preparing a remote computer:
  19. 1) Go to the remote computer whose CD player you want to control. Go to the ╥Sharing Setup╙ control panel and click on the ╥Start╙ button for ╥Program Linking╙.
  20. 2) Go to the ╥Users & Groups╙ control  panel and create a user identity for yourself. Be sure to click on the ╥Allow user to link to programs on this Macintosh╙ button within your identity/password file.
  21. 3)    a) if AppleScript is enabled on this computer, take the enclosed ╥AudioCDgh╙ file and place it in the folder :System Folder:Extensions:Scripting Extensions. Remote Remote requires the version which came with it.
  22.                     b) if AppleScript is not on the remote computer, place a copy of ╥Remote Remote GH╙ and launch it. You will be able to control the CD drive through it as long as it is running.
  23. 4) Confirm that the computer is properly setup to play audio CDs (perhaps by trying to play something).
  24. 5) Leave an audio CD mounted in the CD ROM.
  25.  
  26. running Remote Remote GH:
  27. Launch Remote Remote GH. A CD controller window will open up, which will be active if there is a CD ROM drive attached to your computer and there is an audio CD in that drive. You can use the standard icon button controls in the window to control local playback. There are two buttons with black triangles in the icons: the Play/Pause/Continue button and the Sound Level button; quickly clicking on the Play/Pause/Continue button will toggle between playing and being paused, while clicking and holding down on this button will bring up a menu of tracks to start playing at; clicking and holding down on the Sound Level button will bring up a graphical menu from which to select how loud you want your music to play. If you prefer, all the commands accessible from the buttons are available in the Control menu.
  28.  
  29. If you have setup a remote computer as described above, select ╥Target Computer ...╙ from the ╥Control╙ menu. A dialog will come up to allow you to choose possible scriptable applications on your network. If you have used setup choice 3b, select the copy of Remote Remote GH running on the remote computer; if you are using setup choice 3a, select the ╥Finder╙. Enter your user name and password. If all goes well, you are now in control of the remote CD drive.
  30.  
  31. status symbols:
  32. In the bottom, left hand corner of a control window is an icon representing what drive is being controlled:
  33.  
  34. half a Mac: the control window doesn't have a CD ROM to control.
  35.  
  36. one Mac: the control window is directly controlling a CD drive attached to this machine.
  37.  
  38. two Macs: the control window has an active connection controlling a CD drive on a computer somewhere on the AppleTalk network.
  39.  
  40. time symbols:
  41. The current time mode is indicated by the icon next to the computer(s) icon.
  42. X = no time being displayed
  43. Counterclockwise arrow + partially filled circle = time left in track
  44. Counterclockwise arrow + fully filled circle = time left in disk
  45. Clockwise arrow + partially filled circle = time into track
  46. Clockwise arrow + fully filled circle = time into disk
  47.  
  48. AppleScripting:
  49. Remote Remote GH, by itself, supports all the audio cd information and control commands of the AppleScript extension AudioCDgh. In addition, it supports an additional parameter to the play command of the form: play audio cd using track program {1,5,3,3,4}, a corresponding monitoring command of the form: if (playing track program in drive 1) is not equal to true then..., and a informational command to get a track programs you have stored using the AppleCD Audio Player of the form: get AppleCD track program
  50.  
  51. In general, if you want to learn about scripting Remote Remote GH, read the provided example scripts, record a few scripts, and read the scripting dictionary using the Script Editor.
  52.  
  53. Remote Remote GH does not support recording commands sent to remote drives or passing scripted commands through to remote drives. It is suggested you try directly controlling the remote copy of Remote Remote or the  AudioCDgh  extension using commands of the form:
  54.  
  55. tell application "Finder" of machine "Brahms"
  56. -- you will need the AudioCDgh extension loaded on both local and remote machines
  57.     play audio cd
  58. end tell
  59.  
  60. or
  61.  
  62. tell application "Remote Remote GH  (FAT)" of machine "Dakota" of zone "Accounting"
  63. -- use your own machine and zone names, of course
  64.      play audio cd using track program {11,5,3,4,5,11} -- can't use playlist with AudioCDgh+Finder
  65. end tell
  66.  
  67. or
  68.  
  69. set targetApp to (choose application with prompt "Select a copy of Finder or Remote Remote")
  70. -- requires the Choose Application scripting extension
  71. tell targetApp as application
  72.     set cd volume in drive 1 to 50
  73.     play audio cd
  74. end tell
  75.  
  76. It is probably preferable speedwise to do your scripting through Remote Remote as the AudioCDgh extension has to run some setup code for every message sent to it.
  77.  
  78. Leonard Roesenthol has released an extension, OSA Menu, which puts a global menu of scripts in the menu bar. I think you  might find it useful in conjunction with Remote Remote GH. If  you have Internet access, try finding it at: ftp://mirrors.aol.com//pub/info-mac/_Development/osa/osa-menu-102.hqx 
  79. This is subject to change, of course.
  80.  
  81. about the author:
  82. Glenn R. Howes is a graduate student at the University of Wisconsin, whose research involves the improvement of chemically amplified resists for use in Xray lithography. He is an accomplished Mac programmer with numerous free, shareware, and commercial products to his credit.
  83.  
  84. Glenn will be available for employment in January 1996 as a) a Mac programmer b) a PhD analytical chemist c) a hybrid of both. If you have such a job opening, let him know.
  85.  
  86. contacting the author:
  87. Glenn╒s e-mail address is grhowes@kagi.com (this is a forwarding service which will get his e-mail to wherever he is and whatever he is doing). Until January 1996, you can also use grhowes@students.wisc.edu
  88.  
  89. distribution:
  90. Remote Remote GH may be distributed under the following conditions: a) no charge is made for the program itself b) only a nominal fee for disks and shipping is charged c) all files in this package are kept together.
  91.  
  92. The SUMEX info-mac archive and its mirrors and its CD ROM version are given permission to distribute this version. Same with the Univ. of Michigan archive, mirrors and CD ROM. Same with the Arizona Mac Users group. Same with the Japanese version of MacUser. Same with the German version of the Tao of AppleScript. Every other commercial vendor or online service is asked to please ask permission, you will probably get it if your name doesn't begin with M end with t and have icrosof in the middle.
  93.  
  94. Using Remote Remote GH or AudioCDgh to control a remote computer without the permission of the computer╒s owner, system manager or primary user is prohibited, nor can you use either for malicious reasons. If you do so, consider your license to use this software revoked.
  95.  
  96. for a more convenient local audio cd controller:
  97. Use Audio Strip GH (soon at version 1.3.1); look for a link to the most recent version on Glenn╒s home page: http://www.xraylith.wisc.edu/~howes/
  98.  
  99. about the product:
  100. Remote Remote GH was written in C++ using Metrowerks CodeWarrior version 7 and the PowerPlant framework. 
  101.  
  102. thanks to:
  103. The beta testers, especially Martin J. Koistinen whose suggestions make up much of the interface. 
  104.  
  105. Glenn╒s high school chemistry teacher, Richard Bringedahl, who started him on the road to becoming a chemist.
  106.  
  107. people ask:
  108. ╥How can you make money giving away such a fine program?╙
  109.  
  110. we say:
  111. ╥Volume, Volume, Volume.╙